
.logo-name-img {
    width: 90px;
margin-left: 10px;
}

* {
    padding: 0;
    margin: 0;
}
@media screen and (max-width: 1382px) {
    .header {
        justify-content: center; /* 使子元素水平居中 */
    }
    .logoName,
    .nav,
    .search-form,
    .user-info {
        margin-right: 10px; /* 适当调整子元素之间的间距 */
    }
}
.logoName{
    display: flex
;
    justify-content: center;
    align-items: center;
    margin-right: 77px;
}
@media screen and (min-width: 882px) {
    .header {
        justify-content: center; /* 使子元素水平居中 */
    }
    .logoName,
    .nav,
    .search-form,
    .user-info {
        margin-right: 0px; /* 恢复原有的间距 */
    }
}
/*@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 150dpi) {*/
/*    .header {*/
/*        !*padding: 0 30px;*!*/

/*        justify-content: center;*/
/*    }*/
/*    !*.logoName,*!*/
/*    !*    .nav,*!*/
/*    !*    .search-form,*!*/
/*    !*    .user-info {*!*/
/*    !*        font-size: 12px;*!*/
/*    !*    }*!*/
/*}*/
body {
    background-color: #F3F6F9;
}

.header {
    height: 10vh;
    display: flex
;
    flex-direction: row;
    align-items: center;
    padding: 3px 15px;
    margin: auto auto;
    /* box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2); */
    /* border-radius: 20px; */
     background-color: white;

}

a {
    text-decoration: none;
    color: #999;
}

nav ul {
    display: flex;
    list-style: none;
    font-size: 20px;
}

li {
    margin-right: 41px;
}

.search-form {
    display: flex;
    align-items: center;
    margin-left: -48px;
}

.search-form label {
    display: block;
    width: 200px;
    width: 150%;
    border-radius: 0.375rem;
    border: 1px solid #edeefa;
    position: relative;
    transition: border-color 0.3s ease;
    background-color: #F8F8FA;
    height: 37px;
    object-fit: contain;
}

.search-form label:hover {
    border-color: #999;
}

.search-form label input {
    border: none;
    outline: none;
    padding: 8px 0;
    text-indent: 14px;
    font-size: 14px;
    background-color: transparent;
    height: 25px;
}

.search-form label .search-icon {
    position: absolute;
    left: 207px;
    top: 4px;
    font-size: 18px;
}
textarea {
    resize: none; /* 禁用拉伸 */
}
.ask-question-btn {
    border: none;
    width: 132px;
    height: 37px;
    border-radius: 5px;
    margin-left: 40px;
    color: white;
    background-color: #30AEF6;
    transition: all 0.3s linear;
}

.ask-question-btn:hover {
    background-color: #0665cb;
}

.logoName,
nav,
.search-form,
.user-info {
    margin-right: 50px;
}

.user-info {
    display: flex;
    align-items: center;
    margin-right: 0px;
    width: auto;
}

.message,
.private-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
}

.message-detail,
.private-message-detail {
    font-size: 14px;
}

.message-icon,
.private-message-icon {
    font-size: 18px;
    margin-bottom: 5px;
}

.user-avatar {
    object-fit: contain;
    width: 38px;
    height: 38px;
    border-radius: 10%;
    overflow: hidden;

    margin-top: 0px;
}

.user-actions {
    position: relative;
    cursor: pointer;
    width: auto;
    height: 30px;
    display: flex;
    flex-direction: column;
}

/* 整体容器样式 */
.notification-container {
    width: 357px;
    height: 468px;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    position: absolute;
    left: -159px;
    top: 37px;
    background-color: white;
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    transition: all ease-in-out 0.5s;
}

.notification-container2 {
    width: 357px;
    height: 468px;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    position: absolute;
    left: -159px;
    top: 37px;
    background-color: white;
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    transition: all ease-in-out 0.5s;
}

.message::before {
    content: "";
    background-color: #3487FF;
    transition: linear 0.3s;
    width: 0px;
    height: 2px;
    position: absolute;
    left: -3px;
    top: 49px;
}

.message:hover {
    color: #3487FF;
}

.message:hover::before {
    width: 36px;
}

.private-message::before {
    content: "";
    background-color: #3487FF;
    transition: linear 0.3s;
    width: 0px;
    height: 2px;
    position: absolute;
    left: -7px;
    top: 51px;
}

.private-message:hover {
    color: #3487FF;
}

.private-message:hover::before {
    width:50px;
}

/* 顶部标题栏样式 */
.notification-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 40px;
    border-bottom: 1px solid #e9ecef;
    border-radius: 7px;
}

.message:hover .notification-container {
    opacity: 1;
    transform: scale(1);
}

.private-message:hover .notification-container2 {
    opacity: 1;
    transform: scale(1);
}

/* 菜单、用户、收藏文字样式 */
.menu-text,
.user-text,
.favorites-text {
    cursor: pointer;
    color: #495057;
}

/* 通知列表样式 */
.notification-list {
    padding: 14px 21px;
    height: 353px;
    display: block;
}

/* 单个通知项样式 */
.notification-item {
    padding: 10px 15px;
    font-size: 15px;
}

/* 发送者样式 */
.sender {
    font-weight: bold;
    color: #31adf6;
}

/* 操作样式 */
.action {
    color: #6c757d;
}

/* 问题样式 */
.question {
    margin-left: 5px;
    color: #2c3136;
}

/* 时间样式 */
.time {
    color: #adb5bd;
    font-size: 14px;
}

/* 底部栏样式 */
.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 40px;
    border-top: 1px solid #e9ecef;
}

/* 设置、查看全部通知文字样式 */
.settings-text,
.view-all-text {
    cursor: pointer;
    color: #495057;
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: 51px;
    left: -38px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    list-style: none;
    /* padding: 0px 13px; */
    width: 114px;
    overflow: hidden;
    /* width: 59px; */
    height: 0px;
    letter-spacing: 1px;
    transition: all linear 0.3s;

}

.dropdown-menu li {
    width: 100%;
    padding: 9px 13px;
    &:hover i{
        color: #71A3FF;
    }
}
.isLiked{
    color: red;
}
.dropdown-menu li a {
    color: #333;
}

.message {
    position: relative;
}

.last {
    border-bottom: none;
}

.little {
    font-size: 20px;
}

.middle {
    font-size: 19px;
}

.notification-item-header {
    color: #626b74;
    padding: 16px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 15px;
    text-align: center;
}

.notification-list2 {
    height: 381px;
    display: none;
}

.notification-list2 .notification-item {
    display: flex;
    align-items: center;
}

.notification-list2 .notification-item img {
    width: 38px;
    height: 38px;
    border-radius: 10%;
    overflow: hidden;
    background-color: #0665cb;
    margin-top: 4px;
}

.notification-list2 .notification-item .notification-item-detail {
    display: flex;
    flex-direction: column;
}

.notification-list2 .notification-item span {
    font-size: 15px;
    color: #333;
}

.notification-list2 .notification-item .id {
    font-weight: bold;
    font-size: 15px;
    color: #000;
}

.notification-item-img {
    margin: auto 15px;
}

.none {
    height: 381px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.none span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #626b74;
}

.none .big {
    font-size: 80px;
    color: #c1c8ce;
    /* line-height: 313px;
          text-align: center;*/
}

.menu-text {
    color: #ff9606;
}

.menu-icon {
    color: #ff9606;
}

.notification-item:hover {
    padding: 10 15px;
    background-color: #f8f8fa;
    border-radius: 5px;
}

.mainPage::before {
    content: "";
    background-color: #3487FF;
    transition: linear 0.3s;
    width: 0px;
    height: 2px;
    position: absolute;
    left: -3px;
    top: 33px;
}

.mainPage:hover {
    color: #3487FF;
}

.mainPage:hover::before {
    width: 47px;
}

.wait-answer::before {
    content: "";
    background-color: #3487FF;
    transition: linear 0.3s;
    width: 0px;
    height: 2px;
    position: absolute;
    left: -5px;
    top: 33px;
}

.wait-answer::before:hover {
    color: #3487FF;
}

.wait-answer:hover::before {
    width:114%;
}

.mainPage {
    position: relative;
}

.mainPage:hover a {
    color: #3487FF;
}

.wait-answer {
    position: relative;
}

.wait-answer:hover a {
    color: #3487FF;
}

.message:hover .message-icon {
    color: #3487FF;
}

.private-message:hover .private-message-icon {
    color: #3487FF;
}

.private-message {
    position: relative;
}

.notification-list3 {
    height: 381px;
}

.notification-list3 .notification-item {
    display: flex;
    align-items: center;
}

.notification-list3 .notification-item img {
    width: 38px;
    height: 38px;
    border-radius: 10%;
    overflow: hidden;
    background-color: #0665cb;
    margin-top: 4px;
}

.notification-list3 .notification-item .notification-item-detail {
    display: flex;
    flex-direction: column;
}

.notification-list3 .notification-item span {
    font-size: 15px;
    color: #333;
}

.notification-list3 .notification-item .id {
    font-weight: bold;
    font-size: 15px;
    color: #000;
}

.private-message-text {
    color: #495057;
    text-align: center;
}

.user-actions:hover .dropdown-menu {
    height: 168px;
}

.dropdown-menu li:hover a {
    color: #3487FF;
}

.dropdown-menu li:hover {
    background-color: #f8f8fa;
}

.header {
    position: fixed;
    width: 100vw;
    top: 0;
}

.top-story-container {






    /* margin-left: 1.5%; */
    max-width: 1400px;
    width: 90%;
    margin: 4vh auto;
    display: flex;
    /* gap: 20px; */
    min-width: 1014px;
}

.top-story-main-column {
    width: 61%;
    margin-right: 1.2%;

}
.top-story-main-column-card {
    background-color: white;
    padding-bottom: 16px;
}
.top-story-main-column .top-story-content-detail p .empty {
    width: 91%;
    height: 49px;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.top-story-main-column .top-story-content-detail p .user-information {
    display: none;
    color: #000;
    font-weight: bold;
}

.top-story-main-column .top-story-content-detail p .user-information img {
    width: 31px;
    height: 31px;
}

.top-story-main-column .top-story-content-detail p .user-information .word-introduction {
    font-size: 13px;
    color: #626b74;
    font-weight: 400;
}

.top-story-main-column .top-story-main-column-card-head {
    width: 100%;
    height: 58px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 0.2px solid #f7f2f2;
}

.top-story-main-column .top-story-main-column-card-head .top-story-main-column-card-head-nav {
    width: 100%;
}

.top-story-main-column .top-story-main-column-card-head .top-story-main-column-card-head-nav a {
    display: inline-block;
    margin-right: 5%;
    color: black;
    font-size: 19px;
}

.top-story-main-column .top-story-main-column-card-head .top-story-main-column-card-head-nav a:hover {
    color: #0087fe;
}

.top-story-main-column .top-story-main-column-card-head .top-story-main-column-card-head-nav .first-a {
    margin-left: 3%;
}

.top-story-main-column .top-story-right-column {
    width: 30%;
}

.top-story-content-footer-button {
    margin-right: 20px;
    border: none;
    /* 去掉边框 */
    outline: none;
    /* 去掉聚焦时的外边框 */
    background: transparent;
    font-size: 14px;
    color: #a9b2b9ef;
}

.top-story-content-footer-button .iconfont {
    color: #a9b2b9ef;
}

.top-story-content-footer-button:hover .share {
    color: #5c89db;
}

.top-story-content-footer-button:hover .comment {
    color: #00d5ff;
}

.top-story-content-footer-button:hover .collect {
    color: orange;
}

.top-story-content-footer-button:hover .like {
    color: rgba(199, 13, 13, 0.907);
}

.top-story-content-footer-button:hover .more {
    color: gray;
}

.top-story-content-footer-button-start {
    margin-left: 20px;
}

.top-story-content-footer-button-start:hover {
    color: #00d5ff;
}

.top-story-content-footer-button-share:hover {
    color: #5c89db;
}

/*.top-story-content-footer-button-like:hover {*/
/*    color: rgba(199, 13, 13, 0.907);*/
/*}*/

.comment-section {
    width: 500px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px 40px;
    height: 704px;
    overflow: auto;
    position: relative;
    transition: all 0.3s ease-in-out;
    position: fixed;
    left: 1536px;
    top: 0px;
    overscroll-behavior: contain;
    display: none;
}

.sub-comments {
    margin-left: 30px;
}

.sub-comment-item {
    padding-left: 15px;
    margin-top: 10px;
}

.comment-header {
    width: 433px;
    height: 57px;
    font-size: 19px;
    line-height: 49px;
    display: flex;
    justify-content: space-between;
}

.close {
    cursor: pointer;
}
#customAlert {
    background-color: white;
    border: 1px solid #ccc;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
    z-index: 1000;
    padding: 15px 10px;
    position: fixed;
    left: 43%;
    top: 10%;

    border-radius: 9px;

}
.header-outer{
    width: 100%;
    height: 57px;
}
.comment-input-outer{
    height: 10%;
}
#customAlert #alertMessage {
    /*padding: 10px;*/


    font-size: 14px;
}

.comment-header-outer {
    font-size: 19px;
    padding-top: 5px;
    width: 100%;
    position: fixed;
    top: 0px;
    background-color: #fff;
    height: 57px;
    border-bottom: 1px solid #e6e6e6;
}

.comment-item {

    border-bottom: 1px solid #f2f2f2;
    padding: 28px;

    width: 89%;
    margin-top: 20px;
    margin: auto;
}


.comment-section.show {
    left: 1024px;
    display: block;
}

.comment-user {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.comment-publish{
    display: none;

    border: 1px solid #f2f2f2;
    margin: 29px;
    padding: 20px;
    border-radius: 10px;
}
.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: contain;
}

.username {
    font-size: 16px;
}

.comment-content p {
    margin-bottom: 5px;
}

.comment-time {
    font-size: 14px;
    color: #bbb;
}

.comment-actions {
    display: flex;
    align-items: flex-start;
    margin-top: 5px;
    flex-direction: column;
}

.reply-icon,
.share-icon,
.like-icon {
    cursor: pointer;
    font-size: 14px;
}

.like-icon {
    font-size: 17px;
}

.sub-comments {
    display: none;
}

.reply-section {
    margin-top: 5px;
    font-size: 14px;
    color: #bbb;
    cursor: pointer;
}

.comment-input {
    display: flex
;
    align-items: center;
    margin-top: 10px;
    /* position: fixed; */
    /* bottom: 0px; */
    /* left: 0px; */

    height: 10%;
    /* background-color: white; */
    width: 90%;
    /* text-align: center; */
    margin: auto;
    padding: 10px;
}
.comment-input input {
    flex: 1;
    padding: 8px;
    background-color: #f7f7f7;
    border: none;
    color: black;
    outline: none;
    border-radius: 5px;
    &:hover{
        background-color: #e4e1e1;
    }
}

.input-icons {
    margin-left: 5px;
}

.emoji-icon,
.mention-icon {
    cursor: pointer;
}

.top-story-content-footer-button-collection:hover {
    color: orange;
}

.top-story-content-footer-button-more:hover {
    color: gray;
}

.top-story-content-head:hover {
    color: #0a408b;
}

/*.top-story-content-attention {*/
/*    display: none;*/
/*}*/

.top-story-content-detail {
    width: 100%;
    /*transition: all  ease-in-out 0.3s;*/
    &:hover{
        background-color: #fcf9f9;
    }
}

.top-story-content-detail:hover .top-story-content-head {
    background-color: #fcf9f9;
}

.top-story-content-detail:hover .top-story-content-detail-list {
    background-color: #fcf9f9;
}

.top-story-content-detail:hover .top-story-content-footer {
    background-color: #fcf9f9;
}

.top-story-content-detail2 {
    width: 100%;
    /*transition: all  ease-in-out 0.3s;*/
    overflow: hidden;
    &:hover{
        background-color: #fcf9f9;
    }
}

.top-story-content-detail2:hover .top-story-content-head {
    background-color: #fcf9f9;
}

.top-story-content-detail2:hover .top-story-content-detail-list {
    background-color: #fcf9f9;
}
.top-story-content-detail2:hover .content-right {
    background-color: #fcf9f9;
}
.top-story-content-detail2:hover .top-story-content-footer {
    background-color: #fcf9f9;
}
.top-story-content-footer {
    padding-bottom: 15px;
    padding-left: 23px;
    position: relative;
}

.top-story-content-head {
    padding-left: 23px;
    padding-top: 13px;
    padding-right: 23px;
}

.top-story-content-detail-list {
    padding-left: 23px;
    width: 74%;
}

.top-story-content-detail-list span {
    color: #30AEF6;
    font-size: 14px;
}

.top-story-content-detail-list span .iconfont {
    color: #30AEF6;
    padding-right: 5px;
}

.top-story-right-column {
    width: 23%;
}

.top-story-container {
    justify-content: center;
    display: flex;
}

.creation-center-outer {
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color: white;
    height: 340px;
}

.creation-center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 90%;
}

.creation-center-container-title {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.creation-center-container-function {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    margin-bottom: 20px;
}

.creation-center-container-function div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.creation-center-container-function div span {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    transition: all 0.3s;
    position: relative;
}

.creation-center-container-function div span:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 5px #ccc5c5;
}

.creation-center-container-function div i {
    font-size: 12px;
    margin-top: 7px;
}

.creation-center-container-function div .iconfont {
    font-size: 20px;
    width: 37px;
    height: 37px;
    position: absolute;
    left: 9px;
    top: 1px;
}

.creation-center-container-function div .answer-span {
    background-color: rgba(138, 43, 226, 0.2);
}

.creation-center-container-function div .answer-span:hover {
    background-color: rgba(138, 43, 226, 0.4);
}

.creation-center-container-function div .vedio-span {
    background-color: rgba(255, 150, 6, 0.2);
}

.creation-center-container-function div .vedio-span:hover {
    background-color: rgba(255, 150, 6, 0.4);
}

.creation-center-container-function div .article-span {
    background-color: rgba(154, 205, 50, 0.2);
}

.creation-center-container-function div .article-span:hover {
    background-color: rgba(154, 205, 50, 0.4);
}

.creation-center-container-function div .thought-span {
    background-color: rgba(11, 151, 158, 0.2);
}

.creation-center-container-function div .thought-span:hover {
    background-color: rgba(11, 151, 158, 0.4);
}

.creation-center-container-prompt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    background-color: #f9f9fa;
}

.creation-center-container-prompt .left {
    margin-left: 10px;
    margin-bottom: 16px;
}

.creation-center-container-prompt .left p {
    margin-top: 16px;
    color: #090a0a;
}

.creation-center-container-prompt .left span {
    color: #495057;
    font-size: 12.5px;
}

.write-outer {
    width: 100%;
    height: 43px;
    margin-top: 20px;
}

.write-button {
    width: 100%;
    height: 43px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #30AEF6;
}

.carefully-selected-author-outer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 220px;
    background-color: white;
    margin-top: 20px;
    border-radius: 5px;
}

.carefully-selected-author-outer .carefully-selected-author-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px 10px;
}

.carefully-selected-author-outer .carefully-selected-author-container .carefully-selected-author-head {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    font-size: 15px;
}

.carefully-selected-author-outer .carefully-selected-author-container .carefully-selected-author-head i {
    font-size: 15px;
    margin-top: 6px;
    margin-right: 5px;
    color: gold;
}

.carefully-selected-author-outer .carefully-selected-author-container .carefully-selected-author-body {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2c3136;
    background-color: #f3f6f9;
    height: 90px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 10px;
    border-radius: 5px;
}

.carefully-selected-author-outer .carefully-selected-author-container .carefully-selected-author-body i {
    color: #495057;
    font-size: 13px;
}

.carefully-selected-author-outer .carefully-selected-author-container .carefully-selected-author-body img {
    width: 120px;
}

.carefully-selected-author-outer .carefully-selected-author-container .carefully-selected-author-button {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carefully-selected-author-outer .carefully-selected-author-container .carefully-selected-author-button button {
    width: 100%;
    height: 40px;
    background-color: white;
    border: 1px solid #30AEF6;
    border-radius: 5px;
    position: relative;
}

.carefully-selected-author-outer .carefully-selected-author-container .carefully-selected-author-button button i {
    color: palevioletred;
    font-size: 19px;
    margin-right: 8px;
    /* margin-bottom: -26px; */
    position: absolute;
    left: 89px;
    top: 4px;
}

.header {
    z-index: 100;
}

.top-story-main-column-card-head-nav2 {
    width: 570px;
}

.top-story-main-column-card-head-nav2 a {
    margin-right: 20px;
    font-size: 20px;
}

.header2 {
    height: 50px;
    position: fixed;
    top: -20vh;
    transition: top 0.3s ease-in-out;
    background-color: white;
}

/*@keyframes slide-fade-in{
from{
    opacity: 0;
    box-shadow: none;
    transform: scale(0.8) translateY(15vh);
}
}
.cards{
    display: grid;
    gap: 2rem;
    grid-auto-flow: dense;
    grid-template-columns: repeat(4,30ch);
}
.card{
    animation:  slide-fade-in both;
    animation-timeline: view();
    animation-range: contain 0% contain 50%;
    border-radius: 10px;
    line-height: 6;
    box-shadow: 0 8px 20px #626b74;
    font-size: 32px;
    letter-spacing: 5px;
    color: #fff;
    width: 80%;
    height: 70%;
    overflow: hidden;
    background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}
  .card:nth-of-type(4n) {
    grid-column: span 2;
  }
  .card:nth-of-type(5n) {
    grid-column: span 2;
  }
   .card:nth-of-type(7n) {
    grid-column: span 2;
  }  */
.top-story-content-detail2 p .pattention-empty {
    width: 91%;
    height: 49px;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.top-story-content-detail2 p .pattention-user-information {
    color: #000;
    font-weight: bold;
}

.top-story-content-detail2 p .pattention-user-information img {
    width: 31px;
    height: 31px;
}

.top-story-content-detail2 p .pattention-user-information .word-introduction {
    font-size: 13px;
    color: #626b74;
    font-weight: 400;
}

.read-full-text, .pattention-read-full-text {
    cursor: pointer;
}

.read-full-text:hover, .pattention-read-full-text:hover {
    color: #0a408b;
}
.title-content{
    padding-top: 0px;
}
.read-full-text:hover i, .pattention-read-full-text:hover i {
    color: #0a408b;
}

.empty {
    display: inline-block;
}

.content {
    margin-top: 10px;
    display: block;
}

.news-list {
    list-style-type: none;
    padding: 10px;

}
.news-list {
    padding-bottom: 0px;
}
/* 单个新闻项样式 */
.news-item {
    border-top: 1px solid #eaeaea;
    padding: 10px;
    display: flex
;
    flex-direction: row;
position: relative;
}
.news-item {
    padding-bottom: 0px;
}

/* 新闻序号样式 */
.news-item-number {
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
    margin-right: 15px;
    font-size: 19PX;
}

/* 新闻标题样式 */
.news-item-title {
    color: #000;
    font-size: 18px;
    margin-bottom: 5px;
    text-decoration: none;
    font-weight: 600;
}

/* 新闻简介样式 */
.news-item-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 91%;
    height: 40px;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

/* 热度和分享区域样式 */
.news-item-meta {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    position: relative;
}

/* 热度图标和文字样式 */
.news-item-heat {
    margin-right: 48px;
    color: #999;
}

/* 分享图标和文字样式 */
.news-item-share {
    color: #999;
}

/* 新闻图片样式 */
.news-item-img {
    width: 151px;
    /* max-width: 200px; */
    height: 114px;
    margin-top: 5px;
    margin-left: 10px;
    /* margin-right: 10px; */
    position: absolute;
    /* display: block; */
    right: 0px;
    object-fit: cover;
}


/*.trending-topic {*/
/*    display: none;*/
/*}*/

i {
    font-style: normal;
    margin-top: 1vh;
}

.post-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 200;
}

.cat {
    font-size: 100px;
}
.empty-comment {
    margin: 24vh auto;
    text-align: center;
    span {
        margin-left: 16px;
    }
}
#titleInput {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    position: relative;
    outline: none;
}

#contentTextarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    outline: none;
    position: relative;
}
#customAlert {
    background-color: white;
    border: 1px solid #ccc;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
    z-index: 1000;
    padding: 15px 10px;
    position: fixed;
    left: 43%;
    top: 10%;

    border-radius: 9px;

}

#customAlert #alertMessage {
    /*padding: 10px;*/


    font-size: 14px;
}

.char-count {
    float: right;
    color: #999;
    position: absolute;
    top: 35px;
    left: 491px;
}

.topic-container {
    margin-bottom: 10px;
}

.topic-item {
    display: inline-block;
    background-color: #f4f4f4;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

.media-options {
    margin-bottom: 10px;
}

.media-icon {
    display: inline-block;
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 50%;
    margin-right: 5px;
    cursor: pointer;
}

.comment-setting select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

#postButton {
    padding: 8px 15px;
    background-color: #82b1ff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    float: right;
}

.close-icon {
    position: absolute;
    bottom: 263px;
    right: -32px;
    font-size: 32px;
    cursor: pointer;
}

.char-count2 {
    top: 212px;
    left: 479px;
}

.write-thought {
    position: absolute;
    top: 50%;
    left: 50%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
    padding: 20px;
}

.content-item {
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.content-item video {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.title {
    padding: 10px;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.author {
    padding: 0 10px 5px;
    font-size: 14px;
    color: #666;
}

.likes {
    padding: 0 10px 10px;
    font-size: 14px;
    color: #999;
}

.mask {
    background-color: black;
    opacity: 0.4;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

body.open {
    height: 100%;
    overflow: hidden;
    width: 99%;
}

/*.content-grid {*/
/*    display: none;*/
/*}*/
.share-detail {
    z-index: 200;
    width: 123px;
    height: 50px;
    padding: 0px 10px;
    line-height: 50px;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);

}
#content{
    display: flex
;
    flex-direction: row;
    margin-top: 1vh;
}
.img-content{
    width: 151px;
    /* max-width: 200px; */
    height: 114px;
    margin-top: 5px;
    margin-left: 10px;
}
.mask{
    z-index:115;
}
.user-information{
    padding-top: 10px;
}
.share-outer {
    z-index: 200;
    position: absolute;
    top: 29px;
    left: 95px;
    display: flex
;
    justify-content: center;
    align-items: center;
    height: 0px;
    width: 123px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.05);
}
.comment-actions {
    display: flex
;
    align-items: flex-start;
    font-size: 14px;
    flex-direction: row;
    line-height: 17px;
    /* margin-top: 13px; */
    height: 17px;
    color: rgb(82, 91, 100);
}
.reply-icon {
    margin-right: 16px;
}
.reply-icon, .share-icon, .like-icon {
    cursor: pointer;
    font-size: 14px;
}
.share-icon2 {
    cursor: pointer;
    font-size: 14px;
    display: none;
}
.detail-comment, .loading-indicator{
    margin-left: 290px;
    /* margin: auto; */
    margin-top: 20px;
    color: #796d79;
    font-size: 14px;
}
.up-down{
    position: fixed;
    top: 90vh;
    left: 50vw;
    animation: updown 1.2s linear infinite;

}
.up-down img {
    width: 40px;
    transform: rotateX(180deg);
}
@keyframes updown{

    0%{
        margin-top: 0px;
    }25%{
         margin-top: 7px;

     }50%{
          margin-top: 0px;

      }75%{
           margin-top: -12px;
       }100%{
            margin-top: 0px;
        }
}
/* 瀑布流容器 */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* 最小列宽 280px，自动填充 */
    gap: 20px; /* 列间距和行间距 */
    padding: 20px;
}

/* 瀑布流单个视频项 */
.masonry-item {
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden; /* 防止视频溢出 */
}

/* 视频样式调整 */
.masonry-item video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* 固定视频宽高比 */
}

/* 标题和作者信息 */
.masonry-item .title {
    padding: 12px;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.masonry-item .author {
    padding: 0 12px 12px;
    font-size: 14px;
    color: #666;
}

/* 适配不同屏幕尺寸 */
@media (max-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: 1fr; /* 移动端单栏布局 */
    }
}
.none-attention{
    display: none;
}
